//
//  LHPublicMethods.h
//  lhcx
//
//  Created by 赵永杰 on 2017/5/9.
//  Copyright © 2017年 zhaoyongjie. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 判断是否测试用户
 
 @return 是否测试用户
 */
extern BOOL LHJudgeIsTestAccount(NSString * mobile);

extern UIViewController *LHGetSB_VC(NSString *name);

extern NSString *LHSetRequestAPI(NSString *path);

/**
 设置请求的url
 
 @param path url路径
 */
extern NSString *LHSetH5RequestAPI(NSString *path);

/**
 获取用户token
 
 @return token
 */
extern NSString *LHGetUserToken();

/**
 将用户token存储到本地
 
 @param token token字符串
 */
extern void LHSetUserToken(NSString *token);

extern void LHSetUserPhone(NSString *phone);

extern void LHSetUserID(NSString *userid);

extern NSString * LHGetUserPhone();

extern NSString * LHGetUserID();

extern void LHSetLoginStatus(BOOL login);

extern BOOL LHGetLoginStatus();

extern NSString *LHGetTimeString(NSDate *date, NSString *dateFormatStr);

extern NSString *LHGetReserveDay(NSArray *array,NSInteger row);

extern UIViewController *LHGetPresentingVC();

extern void LHCallPhone(NSString *phone);

extern void LHSetMapShowTraffic(BOOL isShow);

extern BOOL LHGetMapTrafficIsShow();

extern NSString *LHGetAge(NSString *date);



